package com.hk.webapp.dao;

import com.hk.webapp.bean.SysUserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysUserRole record);

    int insertSelective(SysUserRole record);

    SysUserRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUserRole record);

    int updateByPrimaryKey(SysUserRole record);

    List<SysUserRole> getEntityListByUserId(Integer userId);

    List<SysUserRole> getEntityListByUserIds(@Param("ids") List<Integer> ids);

    int deleteByUserIds(@Param("sysUserIds") List<Integer> sysUserIds);
}